package org.jeecg.common.modules.makeAppointment.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.sql.Time;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 配置预约主表
 * @Author: jeecg-boot
 * @Date:   2021-11-15
 * @Version: V1.0
 */
@Data
@TableName("make_appointment")
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="make_appointment对象", description="配置预约主表")
public class MakeAppointment implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**日期*/
	@Excel(name = "日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "日期")
    private Date date;
	/**开始时间*/
	@Excel(name = "开始时间", width = 20, format = "HH:mm")
	@JsonFormat(timezone = "GMT+8",pattern = "HH:mm")
    @DateTimeFormat(pattern="HH:mm")
    @ApiModelProperty(value = "开始时间")
    private Date startTime;
	/**结束时间*/
	@Excel(name = "结束时间", width = 20, format = "HH:mm")
	@JsonFormat(timezone = "GMT+8",pattern = "HH:mm")
    @DateTimeFormat(pattern="HH:mm")
    @ApiModelProperty(value = "结束时间")
    private Date endTime;
	/**总号量*/
	@Excel(name = "总号量", width = 15)
    @ApiModelProperty(value = "总号量")
    private Integer total;
	/**剩余号量*/
	@Excel(name = "剩余号量", width = 15)
    @ApiModelProperty(value = "剩余号量")
    private Integer surplus;
	/**医生Id*/
	@Excel(name = "医生Id", width = 15)
    @ApiModelProperty(value = "医生Id")
    private String doctorId;
	/**医生姓名*/
	@Excel(name = "医生姓名", width = 15)
    @ApiModelProperty(value = "医生姓名")
    private String doctorNanme;
	/**未删除0-正常，1-删除*/
	@Excel(name = "未删除0-正常，1-删除", width = 15)
    @ApiModelProperty(value = "未删除0-正常，1-删除")
    private Integer invaild;
	/**上午，下午*/
	@Excel(name = "上午，下午", width = 15)
    @ApiModelProperty(value = "上午，下午")
    private String vartPart;
    /**状态 0默认，1待支付，2已支付*/
    @Excel(name = "状态 0默认，1待支付，2已支付", width = 15)
    @ApiModelProperty(value = "状态 0默认，1待支付，2已支付")
	private String status;
    private String medicalId;//病例Id

    /**医院id*/
    @Excel(name = "医院id", width = 15)
    @ApiModelProperty(value = "医院id")
    private String registerHospitalId;

    /**上午，下午*/
    @Excel(name = "医院名称", width = 15)
    @ApiModelProperty(value = "医院名称")
    private String registerHospitalName;
}
